<?php

namespace app\api\validate;

use think\Validate;

class PayVipCard extends Validate
{

    protected $rule = [
        'user_name' => 'require',
        'user_phone'   => 'require|mobile',
        'address' => 'require',
    ];


    protected $message = [
        'user_name.require' => '请填写用户姓名。',
        'user_phone.require' => '请填写用户手机号。',
        'address.require' => '请填写用户地址',
        'user_phone.mobile' => '手机号格式不正确',
    ];
}
